﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsumeAndProduceFactory
{
    public interface IProducer
    {
        event FactoryEventHandler Producing;
        void produce();//定义生产过程
        void start();
        void resume();
        void pause();
        void stop();
        void stopImmediately();
    }
}
